import request from '@/utils/request'


// 查询HistoryFile列表
export function scanFile(query) {
  return request({
    url: '/system/HistoryFile/scanFile',
    method: 'get',
    params: query
  })
}


// 查询HistoryFile列表
export function listHistoryFile(query) {
  return request({
    url: '/system/HistoryFile/list',
    method: 'get',
    params: query
  })
}

// 查询HistoryFile详细
export function getHistoryFile(id) {
  return request({
    url: '/system/HistoryFile/' + id,
    method: 'get'
  })
}

// 新增HistoryFile
export function addHistoryFile(data) {
  return request({
    url: '/system/HistoryFile',
    method: 'post',
    data: data
  })
}

// 修改HistoryFile
export function updateHistoryFile(data) {
  return request({
    url: '/system/HistoryFile',
    method: 'put',
    data: data
  })
}

// 删除HistoryFile
export function delHistoryFile(id) {
  return request({
    url: '/system/HistoryFile/' + id,
    method: 'delete'
  })
}
